/*******************************************************************\
| knn.h
|
| CREATED:		25.6.2009
| DESCRIPTION:
| 
| BF kNN search on the GPU
\********************************************************************/
#ifndef KNN_H
#define KNN_H

extern "C" void SetKnnParams(float p_MaxDist);

extern "C" void PreparekNNSearch(float* ref_host, int ref_width, int query_width, int height, int k);

extern "C" void knn(int ref_width, float* query_host, int query_width, int height, int k, float* p_OutputSqDist, int* p_OutputIdx);

extern "C" void CleanUp();


#endif // KNN_H
